<template>
  <div id="header_nav">
    <div class="nav_fangka">
        <img class="icon" src="@/images/fangka_icon.png">
        <p class="text">{{meCard}}</p>
    </div>
     <router-link class="link" :to="linkUrl">{{linkText}}</router-link>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  created() {},
  props: ["linkUrl", "linkText", "meCard"],
  methods: {}
};
</script>
<style scoped>
#header_nav {
  height: 0.6rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}
#header_nav .nav_fangka {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
  padding: 0.05rem 0.4rem 0 .7rem;
}
#header_nav .nav_fangka .icon {
  max-width: 0.5rem;
  max-height: 0.5rem;
  margin-right: 0.1rem;
}
#header_nav .nav_fangka .text {
  font-size: 0.27rem;
  font-weight: 600;
  color: rgb(255, 150, 0);
}
#header_nav .link {
  position: relative;
  float: right;
  font-size: 0.27rem;
  line-height: 0.6rem;
  color: rgb(0, 133, 231);
  padding-right: 0.36rem;
}
#header_nav .link:after {
  content: " ";
  display: inline-block;
  height: 6px;
  width: 6px;
  border-width: 2px 2px 0 0;
  border-color: rgb(0, 133, 231);
  border-style: solid;
  transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
  position: absolute;
  top: 50%;
  margin-top: -4px;
  right: 0.16rem;
}
</style>
